package org.apache.servicecomb.samples.practise.houserush.realestate.dao;

import org.apache.servicecomb.samples.practise.houserush.realestate.entity.Building;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface BuildingDao extends JpaRepository<Building,Integer> {
    public List<Building> findByRealestateId(Integer realestateId);
}
